package cn.echo.ecc.service;

import cn.echo.ecc.domain.Course;
import cn.echo.ecc.dto.CourseSaveDto;
import cn.echo.ecc.vo.CourseDetailVo;
import cn.echo.ecc.vo.CourseOrderVo;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hulan
 * @since 2022-09-30
 */
public interface ICourseService extends IService<Course> {

    void save(CourseSaveDto courseSaveDto);

    void onLineCourse(Long id);

    void offLineCourse(Long id);

    CourseDetailVo getCourseDetail(Long courseId);

    CourseOrderVo courseOrderInfo(String courseIds);
}
